package com.kingdee.eas.crm.doffice;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class WorkRecordFactory
{
    private WorkRecordFactory()
    {
    }
    public static com.kingdee.eas.crm.doffice.IWorkRecord getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.crm.doffice.IWorkRecord)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("3D077572") ,com.kingdee.eas.crm.doffice.IWorkRecord.class);
    }
    
    public static com.kingdee.eas.crm.doffice.IWorkRecord getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.crm.doffice.IWorkRecord)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("3D077572") ,com.kingdee.eas.crm.doffice.IWorkRecord.class, objectCtx);
    }
    public static com.kingdee.eas.crm.doffice.IWorkRecord getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.crm.doffice.IWorkRecord)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("3D077572"));
    }
    public static com.kingdee.eas.crm.doffice.IWorkRecord getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.crm.doffice.IWorkRecord)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("3D077572"));
    }
}